package com.ruoyi.system.domain.cryptocard;

import com.ruoyi.common.core.domain.model.VsUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 卡密对象 vs_dramas_cryptocard
 *
 * @author ruoyi
 * @date 2024-06-07
 */
@ApiModel("卡密")
public class VsDramasCryptocard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 站点 */
    @Excel(name = "站点")
    @ApiModelProperty("站点")
    private Long siteId;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    /** 类型:vip=VIP套餐,reseller=分销商套餐,usable=剧场积分套餐 */
    @Excel(name = "类型:vip=VIP套餐,reseller=分销商套餐,usable=剧场积分套餐")
    @ApiModelProperty("类型:vip=VIP套餐,reseller=分销商套餐,usable=剧场积分套餐")
    private String type;

    /** 套餐 */
    @Excel(name = "套餐")
    @ApiModelProperty("套餐")
    private Long itemId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String name;

    /** 兑换码 */
    @Excel(name = "兑换码")
    @ApiModelProperty("兑换码")
    private String pwd;

    /** 有效期 */
    @Excel(name = "有效期")
    @ApiModelProperty("有效期")
    private String usetime;

    /** 状态:0=待使用,1=已使用 */
    @Excel(name = "状态:0=待使用,1=已使用")
    @ApiModelProperty("状态:0=待使用,1=已使用")
    private Integer status;

    /** 使用时间（生效时间） */
    @Excel(name = "使用时间", readConverterExp = "生=效时间")
    @ApiModelProperty("使用时间")
    private Long usetimestart;

    /** 使用时间（结束时间） */
    @Excel(name = "使用时间", readConverterExp = "结=束时间")
    @ApiModelProperty("使用时间")
    private Long usetimeend;

    /** 删除时间 */
    @Excel(name = "删除时间")
    @ApiModelProperty("删除时间")
    private Long deletetime;

    private String itemName;

    private Long createtime;

    private VsUser vsUser;

    private Long exchangeTime;

    private Integer issueNum;

    private Integer keyLength;

    private String pwdType;

    public String getPwdType() {
        return pwdType;
    }

    public void setPwdType(String pwdType) {
        this.pwdType = pwdType;
    }

    public Integer getIssueNum() {
        return issueNum;
    }

    public void setIssueNum(Integer issueNum) {
        this.issueNum = issueNum;
    }

    public Integer getKeyLength() {
        return keyLength;
    }

    public void setKeyLength(Integer keyLength) {
        this.keyLength = keyLength;
    }

    public Long getExchangeTime() {
        return exchangeTime;
    }

    public void setExchangeTime(Long exchangeTime) {
        this.exchangeTime = exchangeTime;
    }

    public VsUser getVsUser() {
        return vsUser;
    }

    public void setVsUser(VsUser vsUser) {
        this.vsUser = vsUser;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setSiteId(Long siteId)
    {
        this.siteId = siteId;
    }

    public Long getSiteId()
    {
        return siteId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setItemId(Long itemId)
    {
        this.itemId = itemId;
    }

    public Long getItemId()
    {
        return itemId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPwd(String pwd)
    {
        this.pwd = pwd;
    }

    public String getPwd()
    {
        return pwd;
    }
    public void setUsetime(String usetime)
    {
        this.usetime = usetime;
    }

    public String getUsetime()
    {
        return usetime;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setUsetimestart(Long usetimestart)
    {
        this.usetimestart = usetimestart;
    }

    public Long getUsetimestart()
    {
        return usetimestart;
    }
    public void setUsetimeend(Long usetimeend)
    {
        this.usetimeend = usetimeend;
    }

    public Long getUsetimeend()
    {
        return usetimeend;
    }
    public void setDeletetime(Long deletetime)
    {
        this.deletetime = deletetime;
    }

    public Long getDeletetime()
    {
        return deletetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("siteId", getSiteId())
                .append("userId", getUserId())
                .append("type", getType())
                .append("itemId", getItemId())
                .append("name", getName())
                .append("pwd", getPwd())
                .append("usetime", getUsetime())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("usetimestart", getUsetimestart())
                .append("usetimeend", getUsetimeend())
                .append("createtime", getCreatetime())
                .append("deletetime", getDeletetime())
                .toString();
    }
}